home *** CD-ROM | disk | FTP | other *** search
- Path: voyager.iii.org.tw!sandforr
- From: sandforr@mcnet.marietta.edu (Robert Sandford)
- Newsgroups: comp.lang.c
- Subject: Connecting a process to a tty
- Date: 12 Apr 1996 05:00:43 GMT
- Organization: Marietta College
- Message-ID: <slrn44mrp31.ekr.sandforr@mcnet.marietta.edu>
- NNTP-Posting-Host: shts.seed.net.tw
- X-Newsreader: slrn (0.8.3)
-
- I been working on a shell that a user telnets into through a port number for example:
-
- telnet mycomputer 2150
-
- Once the user logs in they have a shell somewhat like csh. The problem I am having is
- starting a process that would connect to a tty so they can use write, talk and other
- programs that use pseudo-ttys. I can disconnect a process from a tty by using ioctl
- function but I am stumped on connecting or reconnecting a process back to a tty.
-
- Any help would be greatly appreciated.
-
- Thanks
- Robert Sandford
-
-
-